<template>
	<view>
		<!-- <u-navbar back-text="返回" title="剑未配妥，出门已是江湖"></u-navbar> -->
		<web-view :src="url"></web-view>
	</view>
</template>

<script>
	export default {
		data () {
			return {
				url: ''
			}
		},
		onLoad(e) {
			this.url = uni.getStorageSync('url') + '/?sn=' + uni.getStorageSync('sn') + '&type=1&jfopenid='+uni.getStorageSync('openid')
			console.log(this.url, '============')
		},
		onShow() {
			// this.url = 'https://web.kdk59.top/?sn=' + uni.getStorageSync('sn')
		},
		onBackPress () {
			uni.switchTab({
				url: '/pages/index/index'
			})
		}
	}
</script>

<style>
</style>
